package io.geekidea.boot.persmanag.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.boot.framework.page.Paging;
import io.geekidea.boot.otherstores.query.total;
import io.geekidea.boot.outboundBenhavior.query.OutboundBenhaviorQuery;
import io.geekidea.boot.persmanag.dto.PersManagDto;
import io.geekidea.boot.persmanag.dto.PersManagExcel;
import io.geekidea.boot.persmanag.entity.PersManag;
import io.geekidea.boot.persmanag.query.PersManagQuery;
import io.geekidea.boot.store.entity.Store;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersManagService extends IService<PersManag> {
    //Paging<PersManag> getpersManagPageList();

    List<PersManag> getpersManagPageList(PersManagQuery persManagQuery);

    total getTotal(PersManagQuery persManagQuery);

    boolean delById(Integer id);

    List<Store> getStoreList(Integer id);

    boolean addPersManag(PersManagDto persManagDto);

    boolean updatePersManag(PersManag persManag);
    PersManag getPersManag(Integer id);
//    boolean seleById(Integer id);

    List<PersManagExcel> getDownloadList(PersManagQuery persManagQuery);
}
